/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package com.jili.ubert.code.client2server;

import com.baidu.bjf.remoting.protobuf.Codec;
import com.baidu.bjf.remoting.protobuf.FieldType;
import com.baidu.bjf.remoting.protobuf.ProtobufProxy;
import com.baidu.bjf.remoting.protobuf.annotation.Protobuf;
import java.io.IOException;
import java.time.LocalDate;
import java.time.LocalTime;
import java.util.Date;

/**
 *
 * @author ChengJiLi
 */
public class NewOrder1 {
 @Protobuf
     private int orderId;
     @Protobuf
     private String accountCode;
     @Protobuf
     private String dealerUserId;
     @Protobuf
     private String dateTime1;
     @Protobuf
     private String mac;
     @Protobuf
     private String ip;
     @Protobuf
     private String obj;
     @Protobuf
     private String marketCode;
     @Protobuf
     private String classCode;
     @Protobuf
     private String bs;
     @Protobuf
     private String openClose;
     @Protobuf
     private String priceType;
     @Protobuf
     private Float orderPrice;
     @Protobuf
     private Integer orderQty;
     @Protobuf
     private String hedgeFlag;
     @Protobuf
     private String posId;
     @Protobuf
     private String closeType;
     @Protobuf
     private Integer basketId;
     @Protobuf
     private Integer basketTatol;
     @Protobuf
     private Integer seqnum;
     @Protobuf
     private String ownUserId;
     @Protobuf
     private String alterUserId;
    public NewOrder1() {
    }

	
    public NewOrder1 DeCode(byte[] data) throws IOException{
        Codec<NewOrder1> Lcode = ProtobufProxy.create(NewOrder1.class);
        return Lcode.decode(data);
        
    }

    /**
     * @param orderId the orderId to set
     */
    public void setOrderId(int orderId) {
        this.orderId = orderId;
    }

    /**
     * @param accountCode the accountCode to set
     */
    public void setAccountCode(String accountCode) {
        this.accountCode = accountCode;
    }

    /**
     * @param dealerUserId the dealerUserId to set
     */
    public void setDealerUserId(String dealerUserId) {
        this.dealerUserId = dealerUserId;
    }

    /**
     * @param dateTime1 the dateTime1 to set
     */
    public void setDateTime1(String dateTime1) {
        this.dateTime1 = dateTime1;
    }

    /**
     * @param mac the mac to set
     */
    public void setMac(String mac) {
        this.mac = mac;
    }

    /**
     * @param ip the ip to set
     */
    public void setIp(String ip) {
        this.ip = ip;
    }

    /**
     * @param obj the obj to set
     */
    public void setObj(String obj) {
        this.obj = obj;
    }

    /**
     * @param marketCode the marketCode to set
     */
    public void setMarketCode(String marketCode) {
        this.marketCode = marketCode;
    }

    /**
     * @param classCode the classCode to set
     */
    public void setClassCode(String classCode) {
        this.classCode = classCode;
    }

    /**
     * @param bs the bs to set
     */
    public void setBs(String bs) {
        this.bs = bs;
    }

    /**
     * @param openClose the openClose to set
     */
    public void setOpenClose(String openClose) {
        this.openClose = openClose;
    }

    /**
     * @param priceType the priceType to set
     */
    public void setPriceType(String priceType) {
        this.priceType = priceType;
    }

    /**
     * @param orderPrice the orderPrice to set
     */
    public void setOrderPrice(Float orderPrice) {
        this.orderPrice = orderPrice;
    }

    /**
     * @param orderQty the orderQty to set
     */
    public void setOrderQty(Integer orderQty) {
        this.orderQty = orderQty;
    }

    /**
     * @param hedgeFlag the hedgeFlag to set
     */
    public void setHedgeFlag(String hedgeFlag) {
        this.hedgeFlag = hedgeFlag;
    }

    /**
     * @param posId the posId to set
     */
    public void setPosId(String posId) {
        this.posId = posId;
    }

    /**
     * @param closeType the closeType to set
     */
    public void setCloseType(String closeType) {
        this.closeType = closeType;
    }

    /**
     * @param basketId the basketId to set
     */
    public void setBasketId(Integer basketId) {
        this.basketId = basketId;
    }

    /**
     * @param basketTatol the basketTatol to set
     */
    public void setBasketTatol(Integer basketTatol) {
        this.basketTatol = basketTatol;
    }

    /**
     * @param seqnum the seqnum to set
     */
    public void setSeqnum(Integer seqnum) {
        this.seqnum = seqnum;
    }

    /**
     * @param ownUserId the ownUserId to set
     */
    public void setOwnUserId(String ownUserId) {
        this.ownUserId = ownUserId;
    }

    /**
     * @param alterUserId the alterUserId to set
     */
    public void setAlterUserId(String alterUserId) {
        this.alterUserId = alterUserId;
    }

    /**
     * @return the orderId
     */
    public int getOrderId() {
        return orderId;
    }

    /**
     * @return the accountCode
     */
    public String getAccountCode() {
        return accountCode;
    }

    /**
     * @return the dealerUserId
     */
    public String getDealerUserId() {
        return dealerUserId;
    }

    /**
     * @return the dateTime1
     */
    public String getDateTime1() {
        return dateTime1;
    }

    /**
     * @return the mac
     */
    public String getMac() {
        return mac;
    }

    /**
     * @return the ip
     */
    public String getIp() {
        return ip;
    }

    /**
     * @return the obj
     */
    public String getObj() {
        return obj;
    }

    /**
     * @return the marketCode
     */
    public String getMarketCode() {
        return marketCode;
    }

    /**
     * @return the classCode
     */
    public String getClassCode() {
        return classCode;
    }

    /**
     * @return the bs
     */
    public String getBs() {
        return bs;
    }

    /**
     * @return the openClose
     */
    public String getOpenClose() {
        return openClose;
    }

    /**
     * @return the priceType
     */
    public String getPriceType() {
        return priceType;
    }

    /**
     * @return the orderPrice
     */
    public Float getOrderPrice() {
        return orderPrice;
    }

    /**
     * @return the orderQty
     */
    public Integer getOrderQty() {
        return orderQty;
    }

    /**
     * @return the hedgeFlag
     */
    public String getHedgeFlag() {
        return hedgeFlag;
    }

    /**
     * @return the posId
     */
    public String getPosId() {
        return posId;
    }

    /**
     * @return the closeType
     */
    public String getCloseType() {
        return closeType;
    }

    /**
     * @return the basketId
     */
    public Integer getBasketId() {
        return basketId;
    }

    /**
     * @return the basketTatol
     */
    public Integer getBasketTatol() {
        return basketTatol;
    }

    /**
     * @return the seqnum
     */
    public Integer getSeqnum() {
        return seqnum;
    }

    /**
     * @return the ownUserId
     */
    public String getOwnUserId() {
        return ownUserId;
    }

    /**
     * @return the alterUserId
     */
    public String getAlterUserId() {
        return alterUserId;
    }

}
